.first-rank {
    color: darkred;
}

.second-rank {
    color: red;
}

.third-rank {
    color: orange;
}

.hot-item {
    cursor: pointer;
    margin-top: 12px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.hot-article-title {
    margin-left: 5px;
    max-width: 300px; /* 控制最大宽度，可以根据需求调整 */
    white-space: nowrap;
    overflow: hidden; /* 保证文字超出时省略 */
    text-overflow: ellipsis; /* 通过文本溢出显示省略号 */
    display: inline-block;
    color: black;
}


.hot-article-title:hover::after {
    content: attr(data-full-text); /* 显示完整的内容 */
    position: absolute;
    background: rgba(27, 26, 26, 0.48);
    color: white;
    padding: 5px;
    border-radius: 4px;
    white-space: normal;
    z-index: 10;
    top: -60px;
    left: 2%;
}

.hot-article-title:hover {
    color: #979ca1;
}

.hot-article-header {
    color: red;
    font-weight: bolder;
}

.hot-num{
    margin-left: auto;
}

.hot-content{
    padding-left: 15px;
    padding-right: 20px;
    padding-bottom: 10px;
}
